﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Control_Default" %>

<%@ Register Src="pagin.ascx" TagName="pagin" TagPrefix="uc1" %>
<%@ Register Src="PageNo.ascx" TagName="PageNo" TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    查询条件：<asp:TextBox ID="txtWhere" runat="server" Width="120px"></asp:TextBox><asp:Button ID="btnSeatch" runat="server" Text="搜索" OnClick="btnSeatch_Click" />
    <br />
   <asp:GridView ID="GridView1" runat="server" AllowPaging="false" AutoGenerateColumns="false" GridLines="None" CssClass="talbe_list">
        <Columns>       
        <asp:TemplateField HeaderText="广告位ID" Visible="false">
        <ItemTemplate>
        <asp:Label ID="Lb_ID" runat="server" Text='<%#Eval("T_ID")%>'></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
          <asp:TemplateField HeaderText="广告名称">
        <ItemTemplate>
        <asp:Label ID="Lb_Name" runat="server" Text='<%#Eval("Ad_MemberInfoName") %>'></asp:Label>
        </ItemTemplate>
		<ItemStyle CssClass="left2" />
        </asp:TemplateField>
          <asp:TemplateField HeaderText="所属广告位">
        <ItemTemplate>
            <asp:Label ID="Lb_page" runat="server" Text='<%#Eval("Ad_Name")%>'></asp:Label>
        </ItemTemplate>
		<HeaderStyle CssClass="th80" />
        </asp:TemplateField>
          <asp:TemplateField HeaderText="投放天数">
        <ItemTemplate>
        <asp:Label ID="Lb_Day" runat="server" Text='<%#Eval("Ad_Day")%>'></asp:Label>
        </ItemTemplate>
		<HeaderStyle CssClass="th80" />
        </asp:TemplateField>
        </Columns>
		<HeaderStyle CssClass="header" />
        </asp:GridView>
    </div>
    <br />
        <uc2:PageNo id="PageNo1" runat="server">
        </uc2:PageNo>
    </form>
</body>
</html>
